/**
 * author 邵俊杰
 * createTime: 2021-11-01
 */
import http from '../../http.js'

/**
  *  申请企业购
  *  web: 邵俊杰
  *  php: 彭康
  */
export const companyAdd = (data) => http.sendRequest({ url: '/api/company/add', data, async: false })

/**
  *  申请企业购
  *  web: 邵俊杰
  *  php: 彭康
  */
export const getCompanyStatus = (data) => http.sendRequest({ url: '/api/company/get_company_status', data, async: false })
/**
  *  企业购协议
  *  web: 邵俊杰
  *  php: 彭康
  */
export const getCompanyDocument = (data) => http.sendRequest({ url: '/api/company/getCompanyDocument', data, async: false })

/**
  *  获取金融专区广告信息
  *  web: 黄文杰
  *  php: 彭康
  */
export const advDetail = (data) => http.sendRequest({ url: '/api/adv/detail', data, async: false })

/**
  *  微页面
  *  web: 黄文杰
  *  php: 彭康
  */
export const diyViewInfo = (data) => http.sendRequest({ url: '/api/diyview/info', data, async: false })

/**
  *  首页精品商品
  *  web: 邵俊杰
  *  php: 黄锦焕
  */
export const goodsIndexshop = (data) => http.sendRequest({ url: '/api/goods/indexshop', data, async: false })

/**
  *  首页获取企业购
  *  web: 邵俊杰
  *  php: 黄锦焕
  */
export const goodsIndexClass = (data) => http.sendRequest({ url: '/api/goods/indexClass', data, async: false })

/**
  *  小程序登录
  *  web: 邵俊杰
  *  php:
  */
export const weappLogin1 = (data) => http.sendRequest({ url: '/api/login/weappLogin1', data, async: false })

/**
  *  设置用户信息
  *  web: 邵俊杰
  *  php:
  */
export const modifyinfo = (data) => http.sendRequest({ url: '/api/member/modifyinfo', data, async: false })

/**
  *  获取用户信息
  *  web: 邵俊杰
  *  php:
  */
export const getUserInfo = (data) => http.sendRequest({ url: '/api/member/getUserInfo', data, async: false })
